package com.tedu.egspringmvc.mapper;

import com.tedu.egspringmvc.pojo.entity.Address;
import com.tedu.egspringmvc.pojo.vo.AddressVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

public interface AddressMapper {

    int insertAddress(Address address);

    int deleteAddressByTag(String tag);

    int updateAddress(Address address);

    List<AddressVO> findAll();

}
